/*
 * @Author: 张久冬
 * @Date: 2021-12-28 00:20:16
 * @
# Description:
 */
import { IFormItem, IForm } from '@/base-ui/form/index'

const formItems: IFormItem[] = [
  {
    field: 'name',
    type: 'input',
    label: '角色名称',
    placeholder: '请输入角色名称'
  },
  {
    field: 'intro',
    type: 'input',
    label: '权限介绍',
    placeholder: '请输入权限'
  },
  {
    field: 'createTime',
    type: 'datepicker',
    label: '创建时间',
    otherOptions: {
      startPlaceholder: '开始时间',
      endPlaceholder: '结束时间',
      type: 'daterange'
    }
  }
]
export const searchFormConfig: IForm = {
  labelWidth: '120px',
  ItemStyle: {
    padding: '10px 20px'
  },
  formItems
}
